﻿using Unity.Mathematics;

namespace Jinndev.Tile2D {

    public static class TileConst {

        public static readonly float2 TileSize = new float2(1f, 1f);    // Tile大小
        public static readonly float2 TilePivot = new float2(0.5f, 0.5f); // 必须是0.5，否则旋转的不好计算旋转后的位置

        public const string TileMesh = "TileMesh";    // 默认使用的Tile的Mesh缓存key

        public static readonly float4 DefaultTilingOffset = new float4(1, 1, 0, 0);

    }

}
